package com.elock.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 终端设备用户关联
 * @author 仁德
 */
@Entity
@Table(name = "terminal_member")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "terminal_member_sequence")
public class TerminalMember extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 终端设备id */
	private Long terminalId;

	/** 终端设备编号 */
	private String terminalNum;

	/** 用户id */
	private Long memberId;

	/** 用户名 */
	private String username;

	/**  
	 * 获取terminalId  
	 * @return terminalId terminalId  
	 */
	public Long getTerminalId() {
		return terminalId;
	}

	/**  
	 * 设置terminalId  
	 * @param terminalId terminalId  
	 */
	public void setTerminalId(Long terminalId) {
		this.terminalId = terminalId;
	}

	/**  
	 * 获取terminalNum  
	 * @return terminalNum terminalNum  
	 */
	public String getTerminalNum() {
		return terminalNum;
	}

	/**  
	 * 设置terminalNum  
	 * @param terminalNum terminalNum  
	 */
	public void setTerminalNum(String terminalNum) {
		this.terminalNum = terminalNum;
	}

	/**  
	 * 获取memberId  
	 * @return memberId memberId  
	 */
	public Long getMemberId() {
		return memberId;
	}

	/**  
	 * 设置memberId  
	 * @param memberId memberId  
	 */
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	/**  
	 * 获取username  
	 * @return username username  
	 */
	public String getUsername() {
		return username;
	}

	/**  
	 * 设置username  
	 * @param username username  
	 */
	public void setUsername(String username) {
		this.username = username;
	}

}
